<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>大卫雷文案件系统</title>
    <link rel="stylesheet" href="/static/css/normalize.css">
	<link rel="stylesheet" href="/static/css/list.css">
	<link rel="stylesheet" href="/static/css/color-style.css">
	<link rel="stylesheet" href="/static/css/font-awesome.min.css">
    <script type="text/javascript" src="/static/js/jquery-1.11.1.min.js"></script>
</head>
<body>
	<!-- 列表内容 -->
	<div class="list-box">
		<div class="searchbox">
			<form action="" class="form-inline">
				<div class="el-form-item">
					<div class="el-form-item__content">
						<div class="el-input el-input--medium">
							<input type="text" autocomplete="off" placeholder="请输入用户名" size="medium" rows="2" validateevent="true" class="el-input__inner">
						</div>
					</div>
				</div>
				<div class="el-form-item">
					<div class="el-form-item__content">
						<div class="button-container">
							<button type="button" class="button -green center" style="line-height: 1.4; margin-top: 3px; width: 80px;">
								<i class="fa fa-search"></i>
								<span class="span-search">搜 索</span>
							</button>
						</div>
					</div>
				</div>
			</form>
		</div>
		<div id="MainForm">
			<div class="form_boxA">
				<table cellpadding="0" cellspacing="0">
					<tr>
						<th>序号</th>
						<th>用户名</th>
						<th>性别</th>
						<th>邮箱</th>
						<th>建档日期</th>
						<th>状态</th>
						<th>操作</th>
					</tr>
					{foreach $users as $k => $v}
					<tr>
						<td>{$v.id}</td>
						<td>{$v.user_name}</td>
						<td><?php if($v['sex']==1){echo '男';}else{echo '女';}?></td>
						<td>{$v.email}</td>
						<td>{$v.create_time}</td>
						<td><?php if($v['activated']==1){echo '激活';}else{echo '锁定';}?></td>
						<td><a href="{:Url('auth/edit',['id'=>$v.auth,'type' => 0])}">设置</a> | <a href="{:Url('users/edit','id='.$v.id)}" target="right">修改</a></td>
					</tr>
					{/foreach}
				</table>
				<p class="msg">共找到8条年度预算记录，当前显示从第1条至第6条</p>

				<!-- 分页 -->
				<div class="am-cf">
                    <div class="am-fr">
                        <ul class="am-pagination tpl-pagination">
                            <li class="am-disabled"><a href="#">«</a></li>
                            <li class="am-active"><a href="#">1</a></li>
                            <li><a href="#">2</a></li>
                            <li><a href="#">3</a></li>
                            <li><a href="#">4</a></li>
                            <li><a href="#">5</a></li>
                            <li><a href="#">»</a></li>
                        </ul>
                    </div>
                </div>
			</div>
		</div>

		<div class="clear"></div>
	</div>
</body>
</html>